namespace Crm.Domain.TestUtil.ObjectMothers
{
    /// <summary>
    /// This class is an OBJECT MOTHER and is responsible for creating suitably populated <see cref="Customer"/> objects.
    /// </summary>
    /// <remarks>
    /// For more details on the OBJECT MOTHER pattern see 
    /// http://www.codeplex.com/domaindrivendesign/Wiki/View.aspx?title=Object%20Mother.
    /// </remarks>
    public static class CustomerObjectMother
    {
        #region Creation Methods

        public static Customer Create()
        {
            return new Customer(new CustomerIdentifier(CustomerCommonTestValues.CustomerIdentifierString));
        }

        public static Customer Create(CustomerIdentifier customerIdentifier)
        {
            return new Customer(customerIdentifier);
        } 

        #endregion
    }
}